package com.SimpleFactory.main;

import com.SimpleFactory.factory.FruitFactory;
import com.SimpleFactory.fruit.Fruit;

public class Test1 {
    public static void main(String[] args){
        Fruit a = FruitFactory.getApple();
        Fruit b = FruitFactory.getBanan();
        a.get();
        b.get();
    }
}
